using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace CRM.Models
{
       [Table("UOMAdjust")]
       [Comment("国内省市")]
     public class UOMAdjust:BaseModel
    {
        
        /// <summary>
        /// 商品编码
        /// </summary>     
        public string Id { get; set; }
        
        /// <summary>
        /// 商品名称
        /// </summary>
        public string Commodityname { get; set; }
        
        /// <summary>
        /// 计量单位名称（新）
        /// </summary>
        public string Newuom { get; set; }
        
        /// <summary>
        /// 计量单位名称（旧）
        /// </summary>
        public string Olduom { get; set; }
        
        /// <summary>
        /// 数据来源
        /// </summary>
       [DefaultValue(1)]
        public int Datasources { get; set; }
        
        /// <summary>
        /// 新增时间
        /// </summary>
       
        public DateTime? Addtime { get; set; }=DateTime.Now;
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? Updatetime { get; set; }
    }
}